Skip to content

Comments

Speed up top listeners query and add index#659

Open
dylanjeffers wants to merge 1 commit intomainfrom
speed-up-top-listeners
Open

Speed up top listeners query and add index#659
dylanjeffers wants to merge 1 commit intomainfrom
speed-up-top-listeners

Conversation

@dylanjeffers
Copy link
Contributor

@dylanjeffers dylanjeffers commented Feb 18, 2026

  • Speeds lookup of plays for a given track and user
  • Improves query to ensure single pass over plays

@@ -0,0 +1,10 @@
BEGIN;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you do some analysis on this index - it's going to be HUGE. it's probably fine, but the plays table is massive. basically run it against prod, and then figure out the size of the index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants